package com.bawei.shopping.fragment

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.bawei.shopping.R
import com.bawei.shopping.databinding.FragmentTwoBinding

class TwoFragment : Fragment() {
    private lateinit var fragmentTwoBinding: FragmentTwoBinding


    override fun onCreateView(
        inflater: LayoutInflater, container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        fragmentTwoBinding = FragmentTwoBinding.inflate(layoutInflater,container,false)

        fragmentTwoBinding.iv.setOnClickListener{
            fragmentTwoBinding.yaoBezier.addImages(R.drawable.ic_one,R.drawable.ic_two)
            fragmentTwoBinding.yaoBezier.addFavor()
        }


        return fragmentTwoBinding.root
    }


}